<div class="loading-status-element">
  <div ng-show="hasError && !loading">
    <span ng-transclude></span>
  </div>
  <div ng-show="loading">
    Loading...
  </div>
</div>
